using B.S.RbacData.ErrorCode;
using ContentmanagementBase.Domain.Enums;
using MediatR;

namespace ContentmanagementBaseWrite.API.Applications.Commands.Questions
{
    /// <summary>
    /// 修改常见问题命令
    /// </summary>
    public class UpdateProblemCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 问题ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 常见问题标题
        /// </summary>
        public string ProblemTitle { get; set; }

        /// <summary>
        /// 常见问题分类
        /// </summary>
        public FAQCategoryEnum ProblemType { get; set; }

        /// <summary>
        /// 是否推荐显示
        /// </summary>
        public bool Isrecommended { get; set; }

        /// <summary>
        /// 问题内容详情
        /// </summary>
        public string ProblemContent { get; set; }
    }
}